package cn.wolfcode.feign.fallback;

import cn.wolfcode.common.web.Result;
import cn.wolfcode.domain.PayVo;
import cn.wolfcode.domain.RefundVo;
import cn.wolfcode.feign.AliPayApi;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 容错类：提供支付服务的兜底数据
 */
@Component
public class AlipayFallback implements AliPayApi {
    @Override
    public Result<Boolean> rsaCheck(Map<String, String> params) {
        return null;
    }

    @Override
    public Result<String> orderAlipay(PayVo payVo) {
        return null;
    }

    @Override
    public Result<Boolean> refund(RefundVo refundVo) {
        return null;
    }
}
